// pages/mine/mystore/myincome/details.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
	  tabindex:0,
	  tab: ["推荐店铺收益", "年检订单收益","58套餐收益"],
	  incomedetails:[
		  {img:"/images/index5-1.png",name:"李大大",cost:"20.00",income:"23"},
		  { img: "/images/index5-1.png", name: "李大大", cost: "20.00", income: "23" },
		  { img: "/images/index5-1.png", name: "李大大", cost: "20.00", income: "23" },
		  { img: "/images/index5-1.png", name: "李大大", cost: "20.00", income: "23" },
		  { img: "/images/index5-1.png", name: "李大大", cost: "20.00", income: "23" }
	  ]

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
tabtap:function(e){
	this.setData({
		tabindex:e.currentTarget.dataset.index
	})
}
})